const routes = [
    {
        name: "Login",
        path: "/login",
        component: () => import('@/user/login')
    },
    {name:"Index",
        path:"/index",
        component: () => import('@/index'),
        children:[
            {
                name: "Supplier",
                path: "/index/supplier",
                component: () => import('@/ziLiaoGuanLi/supplier')
            },
            {
                name: "Client",
                path: "/index/client",
                component: () => import('@/ziLiaoGuanLi/client')
            },
            {
                name: "BuyerCar",
                path: "/index/buyerCar",
                component: () => import('@/buyer/buyerCar')
            },{
                name: "BuyerInfo",
                path: "/index/buyerInfo",
                component: () => import('@/buyer/buyerInfo')
            },
            {
                name: "SellCar",
                path: "/index/sellCar",
                component: () => import('@/sell/sellCar')
            },
            {
                name: "SellInfo",
                path: "/index/sellInfo",
                component: () => import('@/sell/sellInfo')
            },
            {
                name: "Product",
                path: "/index/product",
                component: () => import('@/product/product')
            },
            {
                name: "CountAll",
                path: "/index/countAll",
                component: () => import('@/count/countAll')
            },
            {
                name: "CountMonth",
                path: "/index/countMonth",
                component: () => import('@/count/countMonth')
            },
            {
                name: "User",
                path: "/index/user",
                component: () => import('@/grade/user')
            },
            {
                name: "Role",
                path: "/index/role",
                component: () => import('@/grade/role')
            },
            {
                name: "Update",
                path: "/index/update",
                component: () => import('@/update')
            },
            {
                name: "Log",
                path: "/index/log",
                component: () => import('@/log')
            },
        ]
    },

];

export default routes;